<?php

require_once '../system/ModelPersistent.class.php';

class Rol extends ModelPersistent {

    /**
     *  CONSTRUCTOR
     */
    public function __construct() {
        parent::__construct("rol", true);
    }

    /**
     * ACCESSORS
     */
    public function setDni($_dni) {
        $this->data["dni"] = $_dni;
    }

    public function getDni() {
        return $this->data["dni"] = $_id;
    }

    public function setRol($_rol) {
        $this->data["rol"] = $_rol;
    }

    public function getRol() {
        return $this->data["rol"] = $_rol;
    }
}
?>